package com.easy.easy.Service;

import com.easy.easy.bean.Orderaddress;
import com.easy.easy.bean.Orderinfo;
import com.easy.easy.bean.Useraddress;
import com.easy.easy.util.Page;

import java.util.List;

public interface IOrderAddressService {
    int add(Orderaddress orderaddress);

    int edit(Orderaddress orderaddress);

    int delete(int orderid,int userid);

    List<Orderaddress> getList(Page page, String text, int userid);

    Orderaddress getOrderById(int orderid,int userid);

    int getCount(String text,int userid);

    Orderaddress getOrder(Orderaddress orderaddress);

    List<Orderaddress> getAddressByUserID(int userid);
}
